
<div class="ncsc-flow-item">
  <div class="title">相关商品交易信息</div>
  <div class="item-goods">
        <?php if (is_array($goods_list) && !empty($goods_list)) { ?>
        <?php foreach ($goods_list as $key => $val) { ?>
      <dl>
        <dt>
          <div class="ncsc-goods-thumb-mini"><a target="_blank" href="{if $val['order_class']==1}<?php echo url('home/catering/detail', array('id'=> $val['goods_id'])); ?>{/if}{if $val['order_class']==2}<?php echo url('home/hotel/detail', array('id'=> $val['store_id'])); ?>{/if}{if $val['order_class']==3}<?php echo url('home/techan/detail', array('id'=> $val['goods_id'])); ?>{/if}">
            <img src="{$val['goods_image']}" /></a></div>
        </dt>
        <dd><a target="_blank" href="{if $val['order_class']==1}<?php echo url('home/catering/detail', array('id'=> $val['goods_id'])); ?>{/if}{if $val['order_class']==2}<?php echo url('home/hotel/detail', array('id'=> $val['store_id'])); ?>{/if}{if $val['order_class']==3}<?php echo url('home/techan/detail', array('id'=> $val['goods_id'])); ?>{/if}">{$val['goods_name']}</a>
            ￥{:ncPriceFormat($val['goods_price'])} * {$val['goods_num']}{if $val['order_class']==2}间*{$val['night_num']}晚{else/}<font color="#AAA">(数量)</font>{/if}
            <span>{:orderGoodsType($val['goods_type'])}</span>
        </dd>
      </dl>
        <?php } ?>
        <?php } ?>
  </div>
  <div class="item-order">
    <dl>
      <dt>运&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：</dt>
      <dd><?php echo $order['shipping_fee']>0 ? ncPriceFormat($order['shipping_fee']):'（免运费）'; ?></dd>
    </dl>
    <dl>
      <dt>订单总额：</dt>
      <dd><strong>￥{:ncPriceFormat($order['order_amount'])}
        <?php if ($order['refund_amount'] > 0) { ?>
        (退款：￥{$order['refund_amount']})
        <?php } ?>
        </strong> </dd>
    </dl>
    <dl class="line">
      <dt>订单编号：</dt>
      <dd><a target="_blank" href="/client#{:url('storeorder/show_order',array('order_id'=>$val['order_id']))}?spm={if $val['order_class']==1}{:get_spm_by_classuri2('client/order/cateringorder','client_menu')}{elseif $val['order_class']==2 /}{:get_spm_by_classuri2('client/order/hotelorder','client_menu')}{elseif $val['order_class']==3 /}{:get_spm_by_classuri2('client/order/storeorder','client_menu')}{else/}{$Think.get.spm}{/if}">{$order['order_sn']}</a> <a href="javascript:void(0);" class="a">更多<i class="icon-angle-down"></i>
        <div class="more"> <span class="arrow"></span>
          <ul>
            <?php if($order['payment_code'] != 'offline' && !in_array($order['order_state'],array(ORDER_STATE_CANCEL,ORDER_STATE_NEW))) { ?>
            <li>付款单号：<span>{$order['pay_sn']}</span></li>
            <?php } ?>
            <li>支付方式：<span>{$order['payment_name']}</span></li>
            <li>下单时间：<span>{$order['add_time']|date='Y-m-d H:i:s',###}</span></li>
            <?php if ($order['payment_time'] > 0) { ?>
            <li>付款时间：<span>{$order['payment_time']|date='Y-m-d H:i:s',###}</span></li>
            <?php } ?>
            <?php if ($order_common['shipping_time'] > 0) { ?>
            <li>发货时间：<span>{$order_common['shipping_time']|date='Y-m-d H:i:s',###}</span></li>
            <?php } ?>
            <?php if ($order['finnshed_time'] > 0) { ?>
            <li>完成时间：<span>{$order['finnshed_time']|date='Y-m-d H:i:s',###}</span></li>
            <?php } ?>
          </ul>
        </div>
        </a> </dd>
    </dl>
    <?php if (!empty($order['shipping_code'])) { ?>
    <dl>
      <dt>物流单号：</dt>
      <dd>{$order['shipping_code']} <a href="javascript:void(0);" class="a">{$e_name}</a></dd>
    </dl>
    <?php } ?>
    <dl class="line">
      <dt>收&nbsp;&nbsp;货&nbsp;&nbsp;人：</dt>
      <dd>{$order_common['reciver_name']}<a href="javascript:void(0);" class="a">更多<i class="icon-angle-down"></i>
        <div class="more"><span class="arrow"></span>
          <ul>
            <li>收货地址：<span>{$order_common['reciver_info']['address']}</span></li>
            <li>联系电话：<span>{$order_common['reciver_info']['phone']}</span></li>
          </ul>
        </div>
        </a>
        <div><span member_id="{$order['buyer_id']}"></span>
          <!--<?php if (!empty($member['member_qq'])) { ?>
          <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$member['member_qq']}&site=qq&menu=yes" title="QQ: {$member['member_qq']}"><img border="0" src="http://wpa.qq.com/pa?p=2:{$member['member_qq']}:52" style=" vertical-align: middle;"/></a>
          <?php } ?>
          <?php if (!empty($member['member_ww'])) { ?>
          <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$member['member_ww']}&site=cntaobao&s=2&charset=UTF-8"  class="vm" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$member['member_ww']}&site=cntaobao&s=2&charset=UTF-8" alt="Wang Wang"  style=" vertical-align: middle;"/></a>
          <?php } ?>-->
        </div>
      </dd>
    </dl>
  </div>
</div>